<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html"><head>
    <meta charset="utf-8">
    <title>{include file="common/title"}</title>

    <meta name="description" content="Dashboard">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!--Basic Styles-->
    <link href="__DATA__/admin/style/bootstrap.css" rel="stylesheet">
    <link href="__DATA__/admin/style/font-awesome.css" rel="stylesheet">
    <link href="__DATA__/admin/style/weather-icons.css" rel="stylesheet">

    <!--Beyond styles-->
    <link id="beyond-link" href="__DATA__/admin/style/beyond.css" rel="stylesheet" type="text/css">
    <link href="__DATA__/admin/style/demo.css" rel="stylesheet">
    <link href="__DATA__/admin/style/typicons.css" rel="stylesheet">
    <link href="__DATA__/admin/style/animate.css" rel="stylesheet">
</head>
<body>
<!-- 头部 -->
{include file="common/top"}
<!-- /头部 -->

<div class="main-container container-fluid">
    <div class="page-container">
        <!-- Page Sidebar -->
        {include file="common/left"}
        <!-- /Page Sidebar -->
        <!-- Page Content -->
        <div class="page-content">
            <!-- Page Breadcrumb -->
            <div class="page-breadcrumbs">
                <ul class="breadcrumb">
                    <li class="active">控制面板</li>
                </ul>
            </div>
            <!-- /Page Breadcrumb -->

            <!-- Page Body -->
            <!--正文-->
            <!--<form action="" method="post">-->
            <!--<div class="input-group col-md-3" style="margin-top:10px;margin-left: 20px;">-->
            <!--<input type="text" class="form-control" name="search" placeholder="请输入分配名称" />-->
            <!--<span class="input-group-btn">-->
            <!--<button class="btn btn-info btn-search">搜索</button>-->
            <!--&lt;!&ndash;<button class="btn btn-info btn-search" style="margin-left:3px">添加</button>&ndash;&gt;-->
            <!--</span>-->
            <!--</div>-->
            <!--</form>-->
            <div class="page-body">
                <style>
                    /*.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary, .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary {color: #fff;background: #a0053b;}*/
                    /*.btn-primary {color: #fcfafa;background-color: #3b3063;border-color: #ffffff;}*/
                    /*.list-group .list-group-item.active {background-color: #3b3063;border-color: #f3f0f2;}*/
                    /*.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {color: #FFF;background-color: #c83716;border-color: #c83716;}*/
                    /*.nav.nav-tabs {margin-bottom: 10px;border-color: #c83716;}*/
                    /*.btn-default {color: #f4eeee;background-color: #169786;border-color: #f2f7f7;}*/
                    /*.panel-info > .panel-heading {color: #fbfdfe;background-color: #179786;border-color: #49a2b4;}*/
                    /*.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {z-index: 2;color: #fff;cursor: default;background-color: #3b3063;border-color: #3b3063;}*/
                    /*.daterangepicker .ranges li.active, .daterangepicker .ranges li:hover {background: #3b3063;border: 1px solid #3b3063;color: #fff;}*/
                    /*.daterangepicker td.active, .daterangepicker td.active:hover {background-color: #d9534f;border-color: #ffffff;color: #fff;}*/
                    /*.input-group-addon {padding: 6px 12px;font-size: 14px;font-weight: 400;line-height: 1;color: #555;text-align: center;background-color: #e2a385;border: 1px solid #ccc;border-radius: 4px;}*/
                    /*.form-control-excel {height: 34px;padding: 6px 12px;font-size: 14px;line-height: 1.42857143;color: #555;background-color: #fff;background-image: none;border: 1px solid #ccc;border-radius: 4px;-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);box-shadow: inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;}*/
                    /*.ibox {clear: both;margin-bottom: 25px;margin-top: 0;padding: 0;}*/
                    /*.ibox-title {-moz-border-bottom-colors: none;-moz-border-left-colors: none;-moz-border-right-colors: none;-moz-border-top-colors: none;background-color: #ffffff;border-color: #e7eaec;-webkit-border-image: none;-o-border-image: none;border-image: none;border-width: 4px 0px 0;color: inherit;margin-bottom: 0;padding: 14px 15px 7px;min-height: 48px;}*/
                    /*.ibox-content {clear: both;background-color: #ffffff;color: inherit;padding: 15px 20px 20px 20px;border-color: #e7eaec;-webkit-border-image: none;-o-border-image: none;border-image: none;border-style: solid solid none;border-width: 1px 0px;}	*/
                    /*.text-info {color: #23c6c8;}*/
                    /*.font-bold {font-weight: 600;}*/
                    /*.stat-percent {float: right;}*/
                    /* 门店图片 */
                    .panel-slide{position: relative;}
                    .panel-slide .btnClose{position: absolute; top:-10px; right:-10px; width:30px; height: 30px; border-radius: 30px;background: #eee; font-size: 16px; cursor: pointer; color:#FFF; text-align: center; line-height: 30px}
                    .panel-slide .btnClose:hover{background: red}
                    .panel-slide .panel-body div{margin-top: 10px}
                </style>
                <link rel="stylesheet" type="text/css" href="../addons/zh_dianc/template/public/ygcss.css">
                <style type="text/css">
                    .apply{height: 40px;line-height: 30px;}
                    .apply_money{font-size: 30px;color: #44ABF7;margin-right: 10px;}
                    .apply_tishi{color: #44ABF7;}
                    .apply_bei{color: #999;margin-top: 5px;}
                </style>
                <ul class="nav nav-tabs">
                    <span class="ygxian"></span>
                    <!--<li class="active"><a href="javascript:void(0);">申请提现</a></li>-->
                    <!--<li><a href="./index.php?c=site&a=entry&do=intxlist&m=zh_dianc">提现明细</a></li>-->

                </ul>
                <div class="main">
                    <form action="{:url('business/cash/store')}" method="post" class="form-horizontal form" enctype="multipart/form-data" id="invitative">
                        <div class="panel panel-default ygdefault">
                            <div class="panel-heading wyheader">申请提现</div>
                            <div class="panel-body">
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-2 control-label" style="padding-top: 10px;">当前可提现金额</label>
                                    <div class="col-sm-10">
                                        <div class="apply"><span class="apply_money">{$data.cash_num==''?0:$data.cash_num}</span><span>元</span></div>
                                        <div class="apply_bei">*当前账户余额如果小于最低提现金额(0.00)，则不能提现</div>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">账户类型</label>
                                    <div class="col-sm-9">
                                        <label class="radio-inline">
                                            <div class="radio" ><label><input checked="checked"  value="支付宝" onclick="chanceCash()" name="cash_type" type="radio" /><span class="text">支付宝</span></label></div>
                                        </label>
                                        <label class="radio-inline">
                                            <div class="radio"><label><input  value="微信" name="cash_type" onclick="chanceCash()" type="radio" /><span class="text">微信</span></label></div>
                                        </label>
                                        <label class="radio-inline">
                                            <div class="radio"><label><input  value="银行卡" name="cash_type" onclick="removeCash()" type="radio" /><span class="text">银行卡</span></label></div>
                                        </label>
                                    </div>
                                </div>
                                <script>
                                    function chanceCash(){
                                        $("#chanceCash").hide();
                                    }
                                    function removeCash(){
                                        $("#chanceCash").show();
                                    }
                                </script>
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-2 control-label">账号</label>
                                    <div class="col-sm-10">
                                        <input type="text" name="cash_user" class="form-control" value="" />
                                        <div class="apply_bei">*请仔细填写账号信息，如果由于您填写错误导致资金流失，平台概不负责</div>
                                    </div>
                                </div>
                                <div class="form-group" id="chanceCash"  style="display: none">
                                    <label for="inputEmail3" class="col-sm-2 control-label">银行名称</label>
                                    <div class="col-sm-10">
                                        <input type="text" name="back_name"  class="form-control" value="" />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="inputEmail3" class="col-sm-2 control-label">真实姓名</label>
                                    <div class="col-sm-10">
                                        <input type="text" name="cash_name" class="form-control" value="" />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">提现金额</label>
                                    <div class="col-sm-5">
                                        <div class="input-group">
                                            <input class="form-control" name="cash_num" id="get_cash" type="text" value="" placeholder="请输入提现金额">
                                            <span class="input-group-addon">元</span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="form-group" style="margin-left: 10px;">
                            <input type="button" onclick="clickSub()" id="put_cash"  value="保存设置" class="btn yg5_btn col-lg-3" style="color: white;background-color: #44ABF7;" />
                        </div>
                    </form>
                </div>
                <script type="text/javascript">
                    $(function(){
                        $("#frame-6").show();
                        $("#yframe-6").addClass("wyactive");
                    });
                    function clickSub(){
                        $money = {$data.cash_num};
                        $get_money = $('#get_cash').val();
                        if($get_money>$money){
                            alert('当前金额不足，请重试');
                        }else{
                            $('#invitative').submit();
                        }
                    }
                </script>
            </div>
            <!--Basic Scripts-->
            <script src="__DATA__/admin/style/jquery_002.js"></script>
            <script src="__DATA__/admin/style/bootstrap.js"></script>
            <script src="__DATA__/admin/style/jquery.js"></script>
            <!--Beyond Scripts-->
            <script src="__DATA__/admin/style/beyond.js"></script>

            <script>
                $(function(){
                    $('.tixian').css('display','block');
                });
            </script>

</body></html>